<!DOCTYPE html>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<html lang="en">
    <head>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>法和药业后台管理系统</title>
    
        <!-- Bootstrap framework -->
            <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css" />
            <link rel="stylesheet" href="bootstrap/css/bootstrap-responsive.min.css" />
        <!-- jQuery UI theme-->
            <link rel="stylesheet" href="lib/jquery-ui/css/Aristo/Aristo.css" />
		<!-- gebo blue theme-->
            <link rel="stylesheet" href="css/blue.css" id="link_theme" />
        <!-- breadcrumbs-->
            <link rel="stylesheet" href="lib/jBreadcrumbs/css/BreadCrumb.css" />
        <!-- tooltips-->
            <link rel="stylesheet" href="lib/qtip2/jquery.qtip.min.css" />
        <!-- notifications -->
            <link rel="stylesheet" href="lib/sticky/sticky.css" />    
        <!-- splashy icons -->
            <link rel="stylesheet" href="img/splashy/splashy.css" />
		<!-- colorbox -->
            <link rel="stylesheet" href="lib/colorbox/colorbox.css" />
		<!-- CLEditor -->
           <!--  <link rel="stylesheet" href="lib/CLEditor/jquery.cleditor.css" /> -->
			<link rel="stylesheet" href="lib/kindeditor/default.css" />
        <!-- main styles -->
            <link rel="stylesheet" href="css/style.css" />
			
           <!--  <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Sans" /> -->
	
        <!-- Favicon -->
            <link rel="shortcut icon" href="favicon.ico" />
		<!-- 通用css -->
          <link rel="stylesheet" href="css_fahe/manage.css" />
        <!--[if lte IE 8]>
            <link rel="stylesheet" href="css/ie.css" />
            <script src="js/ie/html5.js"></script>
			<script src="js/ie/respond.min.js"></script>
        <![endif]-->
		
		<script>
			//* hide all elements & show preloader
			document.documentElement.className += 'js';
		</script>
    </head>
    <body>
		<div id="maincontainer" class="clearfix">
			<!-- header -->
            <header>
             	<%@ include file="maninc/managepagestop.jsp"%>
            </header>
                <div class="container-fluid" id="contentdiv">
			    <div class="row-fluid">
			    <div class="span12" >
				    <div class="span3" id="leftsilber">
				    	<%@ include file="maninc/managepagesleft.jsp"%>	
				    </div>
				    <div class="span9">
				    	
							<div class="chat_box">
								<div class="row-fluid">
									<div class="span12 chat_sidebar">
									
										<div class="chat_heading clearfix">
											添加新闻
										</div>
										
										  	<form method="post" action="doaddnews">
											新闻种类：
											<select id="categoryid" name="category" class="span3">
												<option value ="1">法和动态</option>
				                                <option value ="2">行业咨询</option>
				                                <option value ="3">政策法规</option>
											</select><br>
											新闻名称：
											<input name="newstitle" class="span3">
											<!-- 这里是kindeditor的空间 -->
											<textarea name="content" style="width:800px;height:400px;visibility:hidden;"></textarea>
											
											
											<br /><br />
											<input type="submit" name="save" value="提交" />
											<input type="reset" name="reset" value="重置" />
										</form>
										
										
										
										
										
									</div>
								</div>
							</div>
							
						</div>
				    </div>
			    </div>
			   </div>
        
        
            <script src="js/jquery.min.js"></script>
			<!-- smart resize event -->
			<script src="js/jquery.debouncedresize.min.js"></script>
			<!-- hidden elements width/height -->
			<script src="js/jquery.actual.min.js"></script>
			<!-- js cookie plugin -->
			<script src="js/jquery_cookie.min.js"></script>
			<!-- main bootstrap js -->
			<script src="bootstrap/js/bootstrap.min.js"></script>
			<!-- tooltips -->
			<script src="lib/qtip2/jquery.qtip.min.js"></script>
			<!-- jBreadcrumbs -->
			<script src="lib/jBreadcrumbs/js/jquery.jBreadCrumb.1.1.min.js"></script>
			<!-- fix for ios orientation change -->
			<script src="js/ios-orientationchange-fix.js"></script>
            <!-- scroll -->
			<script src="lib/antiscroll/antiscroll.js"></script>
			<script src="lib/antiscroll/jquery-mousewheel.js"></script>
			<!-- mobile nav -->
			<script src="js/selectNav.js"></script>
			<!-- common functions -->
			<!-- <script src="js/gebo_common.js"></script> -->
			
			<!-- CLEditor -->
			<!-- <script src="lib/CLEditor/jquery.cleditor.js"></script>
			<script src="lib/CLEditor/jquery.cleditor.icon.min.js"></script> -->
			
			<script>
				$(document).ready(function() {
					$("#collapseTwo").addClass('in');
					$("#collapseTwo").css('height','auto');
					//* show all elements & remove preloader
					setTimeout('$("html").removeClass("js")',1000);
				});
			</script>
			<script charset="utf-8" src="lib/kindeditor/kindeditor-min.js"></script>
			<script charset="utf-8" src="lib/kindeditor/lang/zh_CN.js"></script>
			<!-- <script type="text/javascript" src="lib/xheditor/jquery/jquery-1.4.4.min.js"></script>
			<script type="text/javascript" src="lib/xheditor/xheditor-1.2.1.min.js"></script>
			<script type="text/javascript" src="lib/xheditor/xheditor_lang/zh-cn.js"></script> -->
			<script>
				var editor;
				KindEditor.ready(function(K) {
					editor = K.create('textarea[name="content"]', {
						uploadJson : 'updatefiles',
		                fileManagerJson : 'upFilesManage',
						allowFileManager : true
				})});
				/* $(document).ready(function() {
					$('#elm2').xheditor({upBtnText:'上传',upLinkUrl:'editorRoot',upImgUrl:'editorRoot',upFlashUrl:'editorRoot',upMediaUrl:'editorRoot'});
				}); */
			</script>
		
		</div>
	</body>
</html>